Creates a NinePatch from the matrix, starting from left to right, top to bottom
The rects that defines the sprite regions
The texture being used as a reference to the regions
The width of the resulting nine patch
The height of the resulting nine patch
The scaling type
See Implementation
Creates a NinePatch from the matrix, starting from left to right, top to bottom